package com.my.ext.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.my.ext.entity.Admin;
import com.my.ext.entity.Org;

public interface IOrgService {
	
	PageInfo<Org> findAllOrgs(int page, int size);

	int saveOrg(Org org, Admin admin);
	
	Org findOrgByAdmin(Admin admin);
	
	Org findOrgById(int id);
	
}
